Caption = "CUA/Controls can take on the look of OS/2, but also Windows 3 (3D), Windows 95 (Chicago) and Borland BWCC. Push the buttons for a demo of each component:"
FontBold = 0 'False
FontItalic = 0 'False
FontName = "MS Sans Serif"
FontSize = 8.25
FontStrikethru = 0 'False
FontUnderline = 0 'False
Height = 600
Index = 3
Left = 240
TabIndex = 1
Top = 870
Width = 4425
End
Begin CUALabel lbl
Caption = "CUA/Controls is a library of well designed and efficient VBX components for programming with Visual Basic, Delphi, Visual C++, Borland C++, Powerbuilder, SQL-Windows and other development environments supporting VBX:es."
FontBold = 0 'False
FontItalic = 0 'False
FontName = "MS Sans Serif"
FontSize = 8.25
FontStrikethru = 0 'False
FontUnderline = 0 'False
Height = 615
Index = 4
Left = 240
TabIndex = 0
Top = 180
Width = 5760
WordWrap = -1 'True
End
Begin Line Line1
X1 = 4695
X2 = 4695
Y1 = 1770
Y2 = 6030
End
End
Option Explicit
Const MODAL = 1
Sub cboLook_Click ()
'Beep
ConfigCUA cboLook.ListIndex + OS2Mode, True
End Sub
Sub cmdAvbryt_Click ()
Unload Me
End Sub
Sub cmdBook_Click ()
frmBook.Show MODAL
End Sub
Sub cmdCheck_Click ()
frmCheck.Show MODAL
End Sub
Sub cmdCombo_Click ()
frmCombo.Show MODAL
End Sub
Sub cmdCommand_Click ()
frmCommand.Show MODAL
End Sub
Sub cmdFrame_Click ()
frmFrame.Show MODAL
End Sub
Sub cmdGrid_Click ()
frmGrid.Show MODAL
End Sub
Sub cmdHjΣlp_Click ()
Dim RC%
RC = WinHelp(0, "cuactls.hlp", HELP_CONTENTS, 0)
End Sub
Sub cmdIcon_Click ()
frmIcon.Show MODAL
End Sub
Sub cmdLabel_Click ()
frmLabel.Show MODAL
End Sub
Sub cmdLamp_Click ()
frmLamp.Show MODAL
End Sub
Sub cmdList_Click ()
frmList.Show MODAL
End Sub
Sub cmdMeter_Click ()
frmMeter.Show MODAL
End Sub
Sub cmdOK_Click ()
Unload Me
End Sub
Sub cmdOm_Click ()
frmOm.Show MODAL
End Sub
Sub cmdRadio_Click ()
frmRadio.Show MODAL
End Sub
Sub cmdRotary_Click ()
frmRotary.Show MODAL
End Sub
Sub cmdSlider_Click ()
frmSlider.Show MODAL
End Sub
Sub cmdSpin_Click ()
frmSpin.Show MODAL
End Sub
Sub cmdStatus_Click ()
frmStatus.Show MODAL
End Sub
Sub cmdTabs_Click ()
frmTabWord60.Show MODAL
End Sub
Sub cmdTerm_Click ()
frmTermo.Show MODAL
End Sub
Sub cmdTextBox_Click ()
frmTextBox.Show MODAL
End Sub
Sub cmdToolBar_Click ()
frmToolBar.Show MODAL
End Sub
Sub cmdToolBox_Click ()
frmToolBox.Show MODAL
End Sub
Sub cmdTooltips_Click ()
frmToolTips.Show MODAL
End Sub
Sub Data1_Error (DataErr As Integer, Response As Integer)